Skip to content

Conversation

@arcoraven
Copy link
Contributor

@arcoraven arcoraven commented Nov 5, 2024

https://linear.app/thirdweb/issue/INFRA-404/add-sbw-to-dashboard


PR-Codex overview

This PR enhances the backend wallet functionality in the 3rdweb-sdk by adding support for new wallet types, updating the configuration logic, and improving user feedback in the UI.

Detailed summary

  • Added "SMART_BACKEND_WALLETS" to the subscription types.
  • Introduced new EngineBackendWalletType options for smart wallets.
  • Updated EngineBackendWalletOptions with smart wallet configurations.
  • Changed tabContent to use Partial<Record<EngineBackendWalletType, React.ReactNode>>.
  • Modified wallet type options logic based on smart wallet support.
  • Added validation for wallet configurations.
  • Included a FormDescription to provide users with more information on backend wallet types.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@vercel
Copy link

vercel bot commented Nov 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 5, 2024 8:11am
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Nov 5, 2024 8:11am
thirdweb_playground ⬜️ Skipped (Inspect) Nov 5, 2024 8:11am
wallet-ui ⬜️ Skipped (Inspect) Nov 5, 2024 8:11am

@vercel vercel bot temporarily deployed to Preview – docs-v2 November 5, 2024 01:51 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground November 5, 2024 01:51 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui November 5, 2024 01:51 Inactive
@changeset-bot
Copy link

changeset-bot bot commented Nov 5, 2024

⚠️ No Changeset found

Latest commit: cc47b7b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 5, 2024

Your org has enabled the Graphite merge queue for merging into main

Add the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Nov 5, 2024
@codecov
Copy link

codecov bot commented Nov 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 45.56%. Comparing base (6b04d75) to head (cc47b7b).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5303   +/-   ##
=======================================
  Coverage   45.56%   45.56%           
=======================================
  Files        1067     1067           
  Lines       55487    55487           
  Branches     4031     4031           
=======================================
  Hits        25283    25283           
  Misses      29514    29514           
  Partials      690      690           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 6b04d75
packages 40.65% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 43 KB (0%) 861 ms (0%) 719 ms (+64.85% 🔺) 1.6 s
thirdweb (cjs) 103 KB (0%) 2.1 s (0%) 1.1 s (+31.5% 🔺) 3.2 s
thirdweb (minimal + tree-shaking) 4.85 KB (0%) 97 ms (0%) 19 ms (-54.31% 🔽) 116 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 8 ms (-74.43% 🔽) 18 ms
thirdweb/react (minimal + tree-shaking) 17.51 KB (0%) 351 ms (0%) 192 ms (+284.48% 🔺) 542 ms

Copy link
Member

@joaquim-verges joaquim-verges left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like the build is failing

Copy link
Contributor Author

arcoraven commented Nov 5, 2024

Merge activity

  • Nov 5, 3:08 AM EST: The merge label 'merge-queue' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Nov 5, 3:08 AM EST: A user added this pull request to the Graphite merge queue.
  • Nov 5, 3:12 AM EST: A user merged this pull request with the Graphite merge queue.

https://linear.app/thirdweb/issue/INFRA-404/add-sbw-to-dashboard

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the backend wallet functionality within the application. It introduces new wallet types, updates wallet configuration handling, and refines the user interface for better usability.

### Detailed summary
- Added `"SMART_BACKEND_WALLETS"` to the wallet type constants.
- Introduced new `EngineBackendWalletType` options for smart wallets.
- Updated `EngineBackendWalletOptions` with smart wallet configurations.
- Changed `tabContent` to use `Partial<Record<EngineBackendWalletType, React.ReactNode>>`.
- Enhanced wallet type selection logic based on smart wallet support.
- Added `FormDescription` to provide information on backend wallet types.
- Updated form validation to include smart wallet configurations.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
@arcoraven arcoraven force-pushed the ph/addSmartWalletTypes branch from 3b194d6 to cc47b7b Compare November 5, 2024 08:09
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground November 5, 2024 08:09 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 November 5, 2024 08:09 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui November 5, 2024 08:09 Inactive
@graphite-app graphite-app bot merged commit cc47b7b into main Nov 5, 2024
31 checks passed
@graphite-app graphite-app bot deleted the ph/addSmartWalletTypes branch November 5, 2024 08:12
@vercel vercel bot temporarily deployed to Production – wallet-ui November 5, 2024 08:12 Inactive
@vercel vercel bot temporarily deployed to Production – docs-v2 November 5, 2024 08:12 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground November 5, 2024 08:12 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dashboard Involves changes to the Dashboard. merge-queue Adds the pull request to Graphite's merge queue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants